Skip to content

Conversation

@insukim1994
Copy link

@insukim1994 insukim1994 commented Oct 2, 2025

Description

This PR adds configurable host network support for the Konnectivity agent by introducing a new hostNetwork field to the KonnectivitySpec configuration.

Fixes #6465

Motivation:
Currently, the Konnectivity agent's host network configuration is only controlled internally when node-local load balancing is enabled. This change allows users to explicitly control whether the Konnectivity agent should use host networking independently, providing flexibility for scenarios such as:

  • Preventing CNI installation deadlocks in restricted network environments
  • Troubleshooting connectivity issues
  • Meeting specific network policy or compliance requirements

The feature maintains backward compatibility with hostNetwork: false as the default value.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual test
  • Auto test added

Checklist

  • My code follows the style guidelines of this project
  • My commit messages are signed-off
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

insukim1994 and others added 3 commits October 2, 2025 22:07
Co-authored-by: hhk7734 <[email protected]>
Signed-off-by: insukim1994 <[email protected]>
Co-authored-by: hhk7734 <[email protected]>
Signed-off-by: insukim1994 <[email protected]>
@insukim1994 insukim1994 marked this pull request as ready for review October 2, 2025 23:53
@insukim1994 insukim1994 requested review from a team as code owners October 2, 2025 23:53
@github-actions
Copy link
Contributor

github-actions bot commented Nov 2, 2025

The PR is marked as stale since no activity has been recorded in 30 days

@github-actions github-actions bot added Stale and removed Stale labels Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add configurable host network support for Konnectivity agent

1 participant